package com.itheima.d3_abstract;

import lombok.Data;

@Data
public abstract class Animal {
    private String name;

    public Animal(String name) {
        this.name = name;
    }

    public abstract void cry();
}
